package com.guanglan.dao;


import java.util.List;
import java.util.Map;

import com.guanglan.domain.SysRole;

public interface SysRoleMapper {
	
    int deleteByPrimaryKey(Long id);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);
    
    List<SysRole> selectByRoleId(List<Long> list);
    
    List<SysRole> getRoles(Map<String,Object> params);
    
    Integer getRolesCount(Map<String,Object> params);
}